import { createContext } from 'react';
import { VoteInfo } from '../../basis-cash/types';

export interface VotesContext {
  votes: VoteInfo[];
}

const context = createContext<VotesContext>({
  votes: [],
});

export default context;
